package com.liveinstars.activity.business.activity.repository.mapper;

import com.liveinstars.activity.business.activity.repository.po.Activity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liveinstars.api.query.ActivityNewQuery;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ting
 * @since 2020-08-24
 */
public interface ActivityMapper extends BaseMapper<Activity> {

    List<Activity> pageByQuery(Integer page, Integer limit, Long interestId, Integer isCompany, Integer isOnline, List<Integer> ids, List<Integer> smallGroupIds, String searchWord, Integer type, List<Integer> groupIds, Integer status, Integer userId);

    List<Activity> pageByNewQuery(Integer page, Integer limit,  Long interestId, Integer isCompany, Integer isOnline, List<Integer> ids, List<Integer> smallGroupIds, String searchWord, Integer type, List<Integer> groupIds);
}
